package com.lk.mapper;

import com.lk.model.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @author : lk
 * @date 2021/11/20 17:09
 **/
@Mapper
public interface UserMapper  {

    @Select("<script>select * from sys_user where username=#{username}</script>")
    User getOneUser(@Param("username") String username);
}
